text:
.class public Landroid/service/dreams/DreamService;
.super Landroid/app/Service;
.source "DreamService.java"

# interfaces
.implements Landroid/view/Window$Callback;

# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Landroid/service/dreams/DreamService$DreamServiceWrapper;
    }
.end annotation

# static fields
.field public static final DREAM_META_DATA:Ljava/lang/String; = "android.service.dream"

.field public static final DREAM_SERVICE:Ljava/lang/String; = "dreams"

.field public static final SERVICE_INTERFACE:Ljava/lang/String; = "android.service.dreams.DreamService"

# instance fields
.field private final TAG:Ljava/lang/String;

.field private mCanDoze:Z

.field private mDebug:Z

.field private mDozeScreenBrightness:I

.field private mDozeScreenState:I

.field private mDozing:Z

.field private mFinished:Z

.field private mFullscreen:Z

.field private final mHandler:Landroid/os/Handler;

.field private mInteractive:Z

.field private mLowProfile:Z

.field private final mSandman:Landroid/service/dreams/IDreamManager;

.field private mScreenBright:Z

.field private mStarted:Z

.field private mWaking:Z

.field private mWindow:Landroid/view/Window;

.field private mWindowToken:Landroid/os/IBinder;

.field private mWindowless:Z

# direct methods
.method public constructor <init>()V
    .locals 4

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 190
    invoke-direct {p0}, Landroid/app/Service;-><init>()V

    .line 148
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-class v1, Landroid/service/dreams/DreamService;

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "["

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    .line 172
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Landroid/service/dreams/DreamService;->mHandler:Landroid/os/Handler;

    .line 176
    iput-boolean v3, p0, Landroid/service/dreams/DreamService;->mLowProfile:Z

    .line 178
    iput-boolean v3, p0, Landroid/service/dreams/DreamService;->mScreenBright:Z

    .line 185
    iput v2, p0, Landroid/service/dreams/DreamService;->mDozeScreenState:I

    .line 186
    const/4 v0, -0x1

    iput v0, p0, Landroid/service/dreams/DreamService;->mDozeScreenBrightness:I

    .line 188
    iput-boolean v2, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    .line 191
    const-string v0, "dreams"

    invoke-static {v0}, Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder;

    move-result-object v0

    invoke-static {v0}, Landroid/service/dreams/IDreamManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/dreams/IDreamManager;

    move-result-object v0

    iput-object v0, p0, Landroid/service/dreams/DreamService;->mSandman:Landroid/service/dreams/IDreamManager;

    .line 192
    return-void
.end method

.method static synthetic access$100(Landroid/service/dreams/DreamService;)Landroid/view/Window;
    .locals 1
    .param p0, "x0"    # Landroid/service/dreams/DreamService;

    .prologue
    .line 147
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    return-object v0
.end method

.method static synthetic access$200(Landroid/service/dreams/DreamService;)Z
    .locals 1
    .param p0, "x0"    # Landroid/service/dreams/DreamService;

    .prologue
    .line 147
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mWindowless:Z

    return v0
.end method

.method static synthetic access$300(Landroid/service/dreams/DreamService;)Z
    .locals 1
    .param p0, "x0"    # Landroid/service/dreams/DreamService;

    .prologue
    .line 147
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    return v0
.end method

.method static synthetic access$400(Landroid/service/dreams/DreamService;)Ljava/lang/String;
    .locals 1
    .param p0, "x0"    # Landroid/service/dreams/DreamService;

    .prologue
    .line 147
    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$502(Landroid/service/dreams/DreamService;Z)Z
    .locals 0
    .param p0, "x0"    # Landroid/service/dreams/DreamService;
    .param p1, "x1"    # Z

    .prologue
    .line 147
    iput-boolean p1, p0, Landroid/service/dreams/DreamService;->mStarted:Z

    return p1
.end method

.method static synthetic access$600(Landroid/service/dreams/DreamService;Landroid/os/IBinder;Z)V
    .locals 0
    .param p0, "x0"    # Landroid/service/dreams/DreamService;
    .param p1, "x1"    # Landroid/os/IBinder;
    .param p2, "x2"    # Z

    .prologue
    .line 147
    invoke-direct {p0, p1, p2}, Landroid/service/dreams/DreamService;->attach(Landroid/os/IBinder;Z)V

    return-void
.end method

.method static synthetic access$700(Landroid/service/dreams/DreamService;)Landroid/os/Handler;
    .locals 1
    .param p0, "x0"    # Landroid/service/dreams/DreamService;

    .prologue
    .line 147
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$800(Landroid/service/dreams/DreamService;)V
    .locals 0
    .param p0, "x0"    # Landroid/service/dreams/DreamService;

    .prologue
    .line 147
    invoke-direct {p0}, Landroid/service/dreams/DreamService;->detach()V

    return-void
.end method

.method static synthetic access$900(Landroid/service/dreams/DreamService;Z)V
    .locals 0
    .param p0, "x0"    # Landroid/service/dreams/DreamService;
    .param p1, "x1"    # Z

    .prologue
    .line 147
    invoke-direct {p0, p1}, Landroid/service/dreams/DreamService;->wakeUp(Z)V

    return-void
.end method

.method private applyFlags(III)I
    .locals 2
    .param p1, "oldFlags"    # I
    .param p2, "flags"    # I
    .param p3, "mask"    # I

    .prologue
    .line 1033
    xor-int/lit8 v0, p3, -0x1

    and-int/2addr v0, p1

    and-int v1, p2, p3

    or-int/2addr v0, v1

    return v0
.end method

.method private applySystemUiVisibilityFlags(II)V
    .locals 2
    .param p1, "flags"    # I
    .param p2, "mask"    # I

    .prologue
    .line 1026
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    if-nez v1, :cond_1

    const/4 v0, 0x0

    .line 1027
    .local v0, "v":Landroid/view/View;
    :goto_0
    if-eqz v0, :cond_0

    .line 1028
    invoke-virtual {v0}, Landroid/view/View;->getSystemUiVisibility()I

    move-result v1

    invoke-direct {p0, v1, p1, p2}, Landroid/service/dreams/DreamService;->applyFlags(III)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setSystemUiVisibility(I)V

    .line 1030
    :cond_0
    return-void

    .line 1026
    .end local v0    # "v":Landroid/view/View;
    :cond_1
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    goto :goto_0
.end method

.method private applyWindowFlags(II)V
    .locals 3
    .param p1, "flags"    # I
    .param p2, "mask"    # I

    .prologue
    .line 1012
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    if-eqz v1, :cond_0

    .line 1013
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v0

    .line 1014
    .local v0, "lp":Landroid/view/WindowManager$LayoutParams;
    iget v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    invoke-direct {p0, v1, p1, p2}, Landroid/service/dreams/DreamService;->applyFlags(III)I

    move-result v1

    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    .line 1015
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v1, v0}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 1016
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v1

    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v2}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v2

    invoke-interface {v1, v2, v0}, Landroid/view/WindowManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 1018
    .end local v0    # "lp":Landroid/view/WindowManager$LayoutParams;
    :cond_0
    return-void
.end method

.method private final attach(Landroid/os/IBinder;Z)V
    .locals 10
    .param p1, "windowToken"    # Landroid/os/IBinder;
    .param p2, "canDoze"    # Z

    .prologue
    const/4 v9, 0x0

    const/16 v8, 0x7e7

    const/4 v3, 0x0

    const/4 v4, 0x1

    .line 928
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    if-eqz v2, :cond_0

    .line 929
    iget-object v2, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "attach() called when already attached with token="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Slog;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 1005
    :goto_0
    return-void

    .line 932
    :cond_0
    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mFinished:Z

    if-nez v2, :cond_1

    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mWaking:Z

    if-eqz v2, :cond_2

    .line 933
    :cond_1
    iget-object v2, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v3, "attach() called after dream already finished"

    invoke-static {v2, v3}, Landroid/util/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 935
    :try_start_0
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mSandman:Landroid/service/dreams/IDreamManager;

    const/4 v3, 0x1

    invoke-interface {v2, p1, v3}, Landroid/service/dreams/IDreamManager;->finishSelf(Landroid/os/IBinder;Z)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 936
    :catch_0
    move-exception v2

    goto :goto_0

    .line 942
    :cond_2
    iput-object p1, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    .line 943
    iput-boolean p2, p0, Landroid/service/dreams/DreamService;->mCanDoze:Z

    .line 944
    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mWindowless:Z

    if-eqz v2, :cond_3

    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mCanDoze:Z

    if-nez v2, :cond_3

    .line 945
    new-instance v2, Ljava/lang/IllegalStateException;

    const-string v3, "Only doze dreams can be windowless"

    invoke-direct {v2, v3}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 947
    :cond_3
    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mWindowless:Z

    if-nez v2, :cond_6

    .line 948
    invoke-static {p0}, Lcom/android/internal/policy/PolicyManager;->makeNewWindow(Landroid/content/Context;)Landroid/view/Window;

    move-result-object v2

    iput-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    .line 949
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v2, p0}, Landroid/view/Window;->setCallback(Landroid/view/Window$Callback;)V

    .line 950
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v2, v4}, Landroid/view/Window;->requestFeature(I)Z

    .line 951
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    new-instance v5, Landroid/graphics/drawable/ColorDrawable;

    const/high16 v6, -0x1000000

    invoke-direct {v5, v6}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v2, v5}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 952
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    const/4 v5, -0x1

    invoke-virtual {v2, v5}, Landroid/view/Window;->setFormat(I)V

    .line 954
    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v2, :cond_4

    iget-object v2, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v5, "Attaching window token: %s to window of type %s"

    const/4 v6, 0x2

    new-array v6, v6, [Ljava/lang/Object;

    aput-object p1, v6, v3

    invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v7

    aput-object v7, v6, v4

    invoke-static {v5, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v2, v5}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 957
    :cond_4
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v2}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

    .line 958
    .local v1, "lp":Landroid/view/WindowManager$LayoutParams;
    iput v8, v1, Landroid/view/WindowManager$LayoutParams;->type:I

    .line 959
    iput-object p1, v1, Landroid/view/WindowManager$LayoutParams;->token:Landroid/os/IBinder;

    .line 960
    const v2, 0x10302e7

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I

    .line 961
    iget v5, v1, Landroid/view/WindowManager$LayoutParams;->flags:I

    const v6, 0x490101

    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mFullscreen:Z

    if-eqz v2, :cond_7

    const/16 v2, 0x400

    :goto_1
    or-int/2addr v6, v2

    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mScreenBright:Z

    if-eqz v2, :cond_8

    const/16 v2, 0x80

    :goto_2
    or-int/2addr v2, v6

    or-int/2addr v2, v5

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->flags:I

    .line 969
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v2, v1}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 972
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    const/high16 v5, -0x80000000

    invoke-virtual {v2, v5}, Landroid/view/Window;->clearFlags(I)V

    .line 973
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    const-string v5, "dream"

    invoke-virtual {v2, v9, p1, v5, v4}, Landroid/view/Window;->setWindowManager(Landroid/view/WindowManager;Landroid/os/IBinder;Ljava/lang/String;Z)V

    .line 975
    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mLowProfile:Z

    if-eqz v2, :cond_5

    move v3, v4

    :cond_5
    invoke-direct {p0, v3, v4}, Landroid/service/dreams/DreamService;->applySystemUiVisibilityFlags(II)V

    .line 980
    :try_start_1
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v2

    iget-object v3, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v3}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v3

    iget-object v4, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v4}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v4

    invoke-interface {v2, v3, v4}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_1
    .catch Landroid/view/WindowManager$BadTokenException; {:try_start_1 .. :try_end_1} :catch_1

    .line 995
    .end local v1    # "lp":Landroid/view/WindowManager$LayoutParams;
    :cond_6
    iget-object v2, p0, Landroid/service/dreams/DreamService;->mHandler:Landroid/os/Handler;

    new-instance v3, Landroid/service/dreams/DreamService$1;

    invoke-direct {v3, p0}, Landroid/service/dreams/DreamService$1;-><init>(Landroid/service/dreams/DreamService;)V

    invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto/16 :goto_0

    .restart local v1    # "lp":Landroid/view/WindowManager$LayoutParams;
    :cond_7
    move v2, v3

    .line 961
    goto :goto_1

    :cond_8
    move v2, v3

    goto :goto_2

    .line 981
    :catch_1
    move-exception v0

    .line 985
    .local v0, "ex":Landroid/view/WindowManager$BadTokenException;
    iget-object v2, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v3, "attach() called after window token already removed, dream will finish soon"

    invoke-static {v2, v3}, Landroid/util/Slog;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 987
    iput-object v9, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    goto/16 :goto_0
.end method

.method private static clampAbsoluteBrightness(I)I
    .locals 2
    .param p0, "value"    # I

    .prologue
    .line 1071
    const/4 v0, 0x0

    const/16 v1, 0xff

    invoke-static {p0, v0, v1}, Landroid/util/MathUtils;->constrain(III)I

    move-result v0

    return v0
.end method

.method private final detach()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    const/4 v4, 0x0

    .line 898
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mStarted:Z

    if-eqz v0, :cond_1

    .line 899
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "detach(): Calling onDreamingStopped()"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 900
    :cond_0
    iput-boolean v4, p0, Landroid/service/dreams/DreamService;->mStarted:Z

    .line 901
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->onDreamingStopped()V

    .line 904
    :cond_1
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    if-eqz v0, :cond_3

    .line 906
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "detach(): Removing window from window manager"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 907
    :cond_2
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0}, Landroid/view/Window;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v0

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/view/WindowManager;->removeViewImmediate(Landroid/view/View;)V

    .line 908
    iput-object v5, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    .line 911
    :cond_3
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    if-eqz v0, :cond_4

    .line 913
    invoke-static {}, Landroid/view/WindowManagerGlobal;->getInstance()Landroid/view/WindowManagerGlobal;

    move-result-object v0

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Dream"

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/WindowManagerGlobal;->closeAll(Landroid/os/IBinder;Ljava/lang/String;Ljava/lang/String;)V

    .line 915
    iput-object v5, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    .line 916
    iput-boolean v4, p0, Landroid/service/dreams/DreamService;->mCanDoze:Z

    .line 918
    :cond_4
    return-void
.end method

.method private getSystemUiVisibilityFlagValue(IZ)Z
    .locals 2
    .param p1, "flag"    # I
    .param p2, "defaultValue"    # Z

    .prologue
    .line 1021
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    if-nez v1, :cond_0

    const/4 v0, 0x0

    .line 1022
    .local v0, "v":Landroid/view/View;
    :goto_0
    if-nez v0, :cond_1

    .end local p2    # "defaultValue":Z
    :goto_1
    return p2

    .line 1021
    .end local v0    # "v":Landroid/view/View;
    .restart local p2    # "defaultValue":Z
    :cond_0
    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    goto :goto_0

    .line 1022
    .restart local v0    # "v":Landroid/view/View;
    :cond_1
    invoke-virtual {v0}, Landroid/view/View;->getSystemUiVisibility()I

    move-result v1

    and-int/2addr v1, p1

    if-eqz v1, :cond_2

    const/4 p2, 0x1

    goto :goto_1

    :cond_2
    const/4 p2, 0x0

    goto :goto_1
.end method

.method private getWindowFlagValue(IZ)Z
    .locals 1
    .param p1, "flag"    # I
    .param p2, "defaultValue"    # Z

    .prologue
    .line 1008
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    if-nez v0, :cond_0

    .end local p2    # "defaultValue":Z
    :goto_0
    return p2

    .restart local p2    # "defaultValue":Z
    :cond_0
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v0

    iget v0, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    and-int/2addr v0, p1

    if-eqz v0, :cond_1

    const/4 p2, 0x1

    goto :goto_0

    :cond_1
    const/4 p2, 0x0

    goto :goto_0
.end method

.method private updateDoze()V
    .locals 4

    .prologue
    .line 613
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDozing:Z

    if-eqz v0, :cond_0

    .line 615
    :try_start_0
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mSandman:Landroid/service/dreams/IDreamManager;

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    iget v2, p0, Landroid/service/dreams/DreamService;->mDozeScreenState:I

    iget v3, p0, Landroid/service/dreams/DreamService;->mDozeScreenBrightness:I

    invoke-interface {v0, v1, v2, v3}, Landroid/service/dreams/IDreamManager;->startDozing(Landroid/os/IBinder;II)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 620
    :cond_0
    :goto_0
    return-void

    .line 616
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method private wakeUp(Z)V
    .locals 3
    .param p1, "fromSystem"    # Z

    .prologue
    .line 851
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "wakeUp(): fromSystem="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ", mWaking="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mWaking:Z

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ", mFinished="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mFinished:Z

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 854
    :cond_0
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mWaking:Z

    if-nez v0, :cond_1

    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mFinished:Z

    if-nez v0, :cond_1

    .line 855
    const/4 v0, 0x1

    iput-boolean v0, p0, Landroid/service/dreams/DreamService;->mWaking:Z

    .line 860
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->onWakeUp()V

    .line 864
    if-nez p1, :cond_1

    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mFinished:Z

    if-nez v0, :cond_1

    .line 865
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    if-nez v0, :cond_2

    .line 866
    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "WakeUp was called before the dream was attached."

    invoke-static {v0, v1}, Landroid/util/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 876
    :cond_1
    :goto_0
    return-void

    .line 869
    :cond_2
    :try_start_0
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mSandman:Landroid/service/dreams/IDreamManager;

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/service/dreams/IDreamManager;->finishSelf(Landroid/os/IBinder;Z)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 870
    :catch_0
    move-exception v0

    goto :goto_0
.end method

# virtual methods
.method public addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    .locals 1
    .param p1, "view"    # Landroid/view/View;
    .param p2, "params"    # Landroid/view/ViewGroup$LayoutParams;

    .prologue
    .line 434
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Landroid/view/Window;->addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 435
    return-void
.end method

.method public canDoze()Z
    .locals 1

    .prologue
    .line 573
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mCanDoze:Z

    return v0
.end method

.method public dispatchGenericMotionEvent(Landroid/view/MotionEvent;)Z
    .locals 2
    .param p1, "event"    # Landroid/view/MotionEvent;

    .prologue
    .line 256
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mInteractive:Z

    if-nez v0, :cond_1

    .line 257
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "Waking up on genericMotionEvent"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 258
    :cond_0
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->wakeUp()V

    .line 259
    const/4 v0, 0x1

    .line 261
    :goto_0
    return v0

    :cond_1
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0, p1}, Landroid/view/Window;->superDispatchGenericMotionEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .locals 3
    .param p1, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v0, 0x1

    .line 206
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mInteractive:Z

    if-nez v1, :cond_1

    .line 207
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v1, :cond_0

    iget-object v1, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v2, "Waking up on keyEvent"

    invoke-static {v1, v2}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 208
    :cond_0
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->wakeUp()V

    .line 215
    :goto_0
    return v0

    .line 210
    :cond_1
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v1

    const/4 v2, 0x4

    if-ne v1, v2, :cond_3

    .line 211
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v1, :cond_2

    iget-object v1, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v2, "Waking up on back key"

    invoke-static {v1, v2}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 212
    :cond_2
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->wakeUp()V

    goto :goto_0

    .line 215
    :cond_3
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0, p1}, Landroid/view/Window;->superDispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public dispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z
    .locals 2
    .param p1, "event"    # Landroid/view/KeyEvent;

    .prologue
    .line 221
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mInteractive:Z

    if-nez v0, :cond_1

    .line 222
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "Waking up on keyShortcutEvent"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 223
    :cond_0
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->wakeUp()V

    .line 224
    const/4 v0, 0x1

    .line 226
    :goto_0
    return v0

    :cond_1
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0, p1}, Landroid/view/Window;->superDispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public dispatchPopulateAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)Z
    .locals 1
    .param p1, "event"    # Landroid/view/accessibility/AccessibilityEvent;

    .prologue
    .line 267
    const/4 v0, 0x0

    return v0
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2
    .param p1, "event"    # Landroid/view/MotionEvent;

    .prologue
    .line 234
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mInteractive:Z

    if-nez v0, :cond_1

    .line 235
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "Waking up on touchEvent"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 236
    :cond_0
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->wakeUp()V

    .line 237
    const/4 v0, 0x1

    .line 239
    :goto_0
    return v0

    :cond_1
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0, p1}, Landroid/view/Window;->superDispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public dispatchTrackballEvent(Landroid/view/MotionEvent;)Z
    .locals 2
    .param p1, "event"    # Landroid/view/MotionEvent;

    .prologue
    .line 245
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mInteractive:Z

    if-nez v0, :cond_1

    .line 246
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "Waking up on trackballEvent"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 247
    :cond_0
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->wakeUp()V

    .line 248
    const/4 v0, 0x1

    .line 250
    :goto_0
    return v0

    :cond_1
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0, p1}, Landroid/view/Window;->superDispatchTrackballEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method protected dump(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
    .locals 4
    .param p1, "fd"    # Ljava/io/FileDescriptor;
    .param p2, "pw"    # Ljava/io/PrintWriter;
    .param p3, "args"    # [Ljava/lang/String;

    .prologue
    .line 1038
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mHandler:Landroid/os/Handler;

    new-instance v1, Landroid/service/dreams/DreamService$2;

    invoke-direct {v1, p0, p1, p3}, Landroid/service/dreams/DreamService$2;-><init>(Landroid/service/dreams/DreamService;Ljava/io/FileDescriptor;[Ljava/lang/String;)V

    const-wide/16 v2, 0x3e8

    invoke-static {v0, v1, p2, v2, v3}, Lcom/android/internal/util/DumpUtils;->dumpAsync(Landroid/os/Handler;Lcom/android/internal/util/DumpUtils$Dump;Ljava/io/PrintWriter;J)V

    .line 1044
    return-void
.end method

.method protected dumpOnHandler(Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
    .locals 2
    .param p1, "fd"    # Ljava/io/FileDescriptor;
    .param p2, "pw"    # Ljava/io/PrintWriter;
    .param p3, "args"    # [Ljava/lang/String;

    .prologue
    .line 1048
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ": "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1049
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    if-nez v0, :cond_7

    .line 1050
    const-string/jumbo v0, "stopped"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    .line 1054
    :goto_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "  window: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    .line 1055
    const-string v0, "  flags:"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1056
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->isInteractive()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, " interactive"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1057
    :cond_0
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->isLowProfile()Z

    move-result v0

    if-eqz v0, :cond_1

    const-string v0, " lowprofile"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1058
    :cond_1
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->isFullscreen()Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, " fullscreen"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1059
    :cond_2
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->isScreenBright()Z

    move-result v0

    if-eqz v0, :cond_3

    const-string v0, " bright"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1060
    :cond_3
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->isWindowless()Z

    move-result v0

    if-eqz v0, :cond_4

    const-string v0, " windowless"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1061
    :cond_4
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->isDozing()Z

    move-result v0

    if-eqz v0, :cond_8

    const-string v0, " dozing"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    .line 1063
    :cond_5
    :goto_1
    invoke-virtual {p2}, Ljava/io/PrintWriter;->println()V

    .line 1064
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->canDoze()Z

    move-result v0

    if-eqz v0, :cond_6

    .line 1065
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "  doze screen state: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Landroid/service/dreams/DreamService;->mDozeScreenState:I

    invoke-static {v1}, Landroid/view/Display;->stateToString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    .line 1066
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "  doze screen brightness: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Landroid/service/dreams/DreamService;->mDozeScreenBrightness:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    .line 1068
    :cond_6
    return-void

    .line 1052
    :cond_7
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "running (token="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 1062
    :cond_8
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->canDoze()Z

    move-result v0

    if-eqz v0, :cond_5

    const-string v0, " candoze"

    invoke-virtual {p2, v0}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V

    goto :goto_1
.end method

.method public findViewById(I)Landroid/view/View;
    .locals 1
    .param p1, "id"    # I

    .prologue
    .line 446
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/Window;->findViewById(I)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public final finish()V
    .locals 4

    .prologue
    const/4 v3, 0x1

    .line 820
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "finish(): mFinished="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-boolean v2, p0, Landroid/service/dreams/DreamService;->mFinished:Z

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 822
    :cond_0
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mFinished:Z

    if-nez v0, :cond_1

    .line 823
    iput-boolean v3, p0, Landroid/service/dreams/DreamService;->mFinished:Z

    .line 825
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    if-nez v0, :cond_2

    .line 826
    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string v1, "Finish was called before the dream was attached."

    invoke-static {v0, v1}, Landroid/util/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 835
    :goto_0
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->stopSelf()V

    .line 837
    :cond_1
    return-void

    .line 829
    :cond_2
    :try_start_0
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mSandman:Landroid/service/dreams/IDreamManager;

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/service/dreams/IDreamManager;->finishSelf(Landroid/os/IBinder;Z)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 830
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public getDozeScreenBrightness()I
    .locals 1

    .prologue
    .line 723
    iget v0, p0, Landroid/service/dreams/DreamService;->mDozeScreenBrightness:I

    return v0
.end method

.method public getDozeScreenState()I
    .locals 1

    .prologue
    .line 670
    iget v0, p0, Landroid/service/dreams/DreamService;->mDozeScreenState:I

    return v0
.end method

.method public getWindow()Landroid/view/Window;
    .locals 1

    .prologue
    .line 371
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    return-object v0
.end method

.method public getWindowManager()Landroid/view/WindowManager;
    .locals 1

    .prologue
    .line 361
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->mWindow:Landroid/view/Window;

    invoke-virtual {v0}, Landroid/view/Window;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public isDozing()Z
    .locals 1

    .prologue
    .line 655
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDozing:Z

    return v0
.end method

.method public isFullscreen()Z
    .locals 1

    .prologue
    .line 518
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mFullscreen:Z

    return v0
.end method

.method public isInteractive()Z
    .locals 1

    .prologue
    .line 468
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mInteractive:Z

    return v0
.end method

.method public isLowProfile()Z
    .locals 2

    .prologue
    .line 494
    const/4 v0, 0x1

    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mLowProfile:Z

    invoke-direct {p0, v0, v1}, Landroid/service/dreams/DreamService;->getSystemUiVisibilityFlagValue(IZ)Z

    move-result v0

    return v0
.end method

.method public isScreenBright()Z
    .locals 2

    .prologue
    .line 541
    const/16 v0, 0x80

    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mScreenBright:Z

    invoke-direct {p0, v0, v1}, Landroid/service/dreams/DreamService;->getWindowFlagValue(IZ)Z

    move-result v0

    return v0
.end method

.method public isWindowless()Z
    .locals 1

    .prologue
    .line 559
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mWindowless:Z

    return v0
.end method

.method public onActionModeFinished(Landroid/view/ActionMode;)V
    .locals 0
    .param p1, "mode"    # Landroid/view/ActionMode;

    .prologue
    .line 350
    return-void
.end method

.method public onActionModeStarted(Landroid/view/ActionMode;)V
    .locals 0
    .param p1, "mode"    # Landroid/view/ActionMode;

    .prologue
    .line 345
    return-void
.end method

.method public onAttachedToWindow()V
    .locals 0

    .prologue
    .line 318
    return-void
.end method

.method public final onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .locals 3
    .param p1, "intent"    # Landroid/content/Intent;

    .prologue
    .line 808
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "onBind() intent = "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 809
    :cond_0
    new-instance v0, Landroid/service/dreams/DreamService$DreamServiceWrapper;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Landroid/service/dreams/DreamService$DreamServiceWrapper;-><init>(Landroid/service/dreams/DreamService;Landroid/service/dreams/DreamService$1;)V

    return-object v0
.end method

.method public onContentChanged()V
    .locals 0

    .prologue
    .line 308
    return-void
.end method

.method public onCreate()V
    .locals 2

    .prologue
    .line 768
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "onCreate()"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 769
    :cond_0
    invoke-super {p0}, Landroid/app/Service;->onCreate()V

    .line 770
    return-void
.end method

.method public onCreatePanelMenu(ILandroid/view/Menu;)Z
    .locals 1
    .param p1, "featureId"    # I
    .param p2, "menu"    # Landroid/view/Menu;

    .prologue
    .line 279
    const/4 v0, 0x0

    return v0
.end method

.method public onCreatePanelView(I)Landroid/view/View;
    .locals 1
    .param p1, "featureId"    # I

    .prologue
    .line 273
    const/4 v0, 0x0

    return-object v0
.end method

.method public onDestroy()V
    .locals 2

    .prologue
    .line 881
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "onDestroy()"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 885
    :cond_0
    invoke-direct {p0}, Landroid/service/dreams/DreamService;->detach()V

    .line 887
    invoke-super {p0}, Landroid/app/Service;->onDestroy()V

    .line 888
    return-void
.end method

.method public onDetachedFromWindow()V
    .locals 0

    .prologue
    .line 323
    return-void
.end method

.method public onDreamingStarted()V
    .locals 2

    .prologue
    .line 776
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "onDreamingStarted()"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 778
    :cond_0
    return-void
.end method

.method public onDreamingStopped()V
    .locals 2

    .prologue
    .line 785
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Landroid/service/dreams/DreamService;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "onDreamingStopped()"

    invoke-static {v0, v1}, Landroid/util/Slog;->v(Ljava/lang/String;Ljava/lang/String;)I

    .line 787
    :cond_0
    return-void
.end method

.method public onMenuItemSelected(ILandroid/view/MenuItem;)Z
    .locals 1
    .param p1, "featureId"    # I
    .param p2, "item"    # Landroid/view/MenuItem;

    .prologue
    .line 297
    const/4 v0, 0x0

    return v0
.end method

.method public onMenuOpened(ILandroid/view/Menu;)Z
    .locals 1
    .param p1, "featureId"    # I
    .param p2, "menu"    # Landroid/view/Menu;

    .prologue
    .line 291
    const/4 v0, 0x0

    return v0
.end method

.method public onPanelClosed(ILandroid/view/Menu;)V
    .locals 0
    .param p1, "featureId"    # I
    .param p2, "menu"    # Landroid/view/Menu;

    .prologue
    .line 328
    return-void
.end method

.method public onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z
    .locals 1
    .param p1, "featureId"    # I
    .param p2, "view"    # Landroid/view/View;
    .param p3, "menu"    # Landroid/view/Menu;

    .prologue
    .line 285
    const/4 v0, 0x0

    return v0
.end method

.method public onSearchRequested()Z
    .locals 1

    .prologue
    .line 333
    const/4 v0, 0x0

    return v0
.end method

.method public onWakeUp()V
    .locals 0

    .prologue
    .line 802
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->finish()V

    .line 803
    return-void
.end method

.method public onWindowAttributesChanged(Landroid/view/WindowManager$LayoutParams;)V
    .locals 0
    .param p1, "attrs"    # Landroid/view/WindowManager$LayoutParams;

    .prologue
    .line 303
    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 0
    .param p1, "hasFocus"    # Z

    .prologue
    .line 313
    return-void
.end method

.method public onWindowStartingActionMode(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;
    .locals 1
    .param p1, "callback"    # Landroid/view/ActionMode$Callback;

    .prologue
    .line 339
    const/4 v0, 0x0

    return-object v0
.end method

.method public setContentView(I)V
    .locals 1
    .param p1, "layoutResID"    # I

    .prologue
    .line 386
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/Window;->setContentView(I)V

    .line 387
    return-void
.end method

.method public setContentView(Landroid/view/View;)V
    .locals 1
    .param p1, "view"    # Landroid/view/View;

    .prologue
    .line 402
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/Window;->setContentView(Landroid/view/View;)V

    .line 403
    return-void
.end method

.method public setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    .locals 1
    .param p1, "view"    # Landroid/view/View;
    .param p2, "params"    # Landroid/view/ViewGroup$LayoutParams;

    .prologue
    .line 422
    invoke-virtual {p0}, Landroid/service/dreams/DreamService;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Landroid/view/Window;->setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 423
    return-void
.end method

.method public setDebug(Z)V
    .locals 0
    .param p1, "dbg"    # Z

    .prologue
    .line 198
    iput-boolean p1, p0, Landroid/service/dreams/DreamService;->mDebug:Z

    .line 199
    return-void
.end method

.method public setDozeScreenBrightness(I)V
    .locals 1
    .param p1, "brightness"    # I

    .prologue
    .line 754
    const/4 v0, -0x1

    if-eq p1, v0, :cond_0

    .line 755
    invoke-static {p1}, Landroid/service/dreams/DreamService;->clampAbsoluteBrightness(I)I

    move-result p1

    .line 757
    :cond_0
    iget v0, p0, Landroid/service/dreams/DreamService;->mDozeScreenBrightness:I

    if-eq v0, p1, :cond_1

    .line 758
    iput p1, p0, Landroid/service/dreams/DreamService;->mDozeScreenBrightness:I

    .line 759
    invoke-direct {p0}, Landroid/service/dreams/DreamService;->updateDoze()V

    .line 761
    :cond_1
    return-void
.end method

.method public setDozeScreenState(I)V
    .locals 1
    .param p1, "state"    # I

    .prologue
    .line 705
    iget v0, p0, Landroid/service/dreams/DreamService;->mDozeScreenState:I

    if-eq v0, p1, :cond_0

    .line 706
    iput p1, p0, Landroid/service/dreams/DreamService;->mDozeScreenState:I

    .line 707
    invoke-direct {p0}, Landroid/service/dreams/DreamService;->updateDoze()V

    .line 709
    :cond_0
    return-void
.end method

.method public setFullscreen(Z)V
    .locals 2
    .param p1, "fullscreen"    # Z

    .prologue
    .line 505
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mFullscreen:Z

    if-eq v1, p1, :cond_0

    .line 506
    iput-boolean p1, p0, Landroid/service/dreams/DreamService;->mFullscreen:Z

    .line 507
    const/16 v0, 0x400

    .line 508
    .local v0, "flag":I
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mFullscreen:Z

    if-eqz v1, :cond_1

    move v1, v0

    :goto_0
    invoke-direct {p0, v1, v0}, Landroid/service/dreams/DreamService;->applyWindowFlags(II)V

    .line 510
    .end local v0    # "flag":I
    :cond_0
    return-void

    .line 508
    .restart local v0    # "flag":I
    :cond_1
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public setInteractive(Z)V
    .locals 0
    .param p1, "interactive"    # Z

    .prologue
    .line 459
    iput-boolean p1, p0, Landroid/service/dreams/DreamService;->mInteractive:Z

    .line 460
    return-void
.end method

.method public setLowProfile(Z)V
    .locals 2
    .param p1, "lowProfile"    # Z

    .prologue
    .line 480
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mLowProfile:Z

    if-eq v1, p1, :cond_0

    .line 481
    iput-boolean p1, p0, Landroid/service/dreams/DreamService;->mLowProfile:Z

    .line 482
    const/4 v0, 0x1

    .line 483
    .local v0, "flag":I
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mLowProfile:Z

    if-eqz v1, :cond_1

    move v1, v0

    :goto_0
    invoke-direct {p0, v1, v0}, Landroid/service/dreams/DreamService;->applySystemUiVisibilityFlags(II)V

    .line 485
    .end local v0    # "flag":I
    :cond_0
    return-void

    .line 483
    .restart local v0    # "flag":I
    :cond_1
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public setScreenBright(Z)V
    .locals 2
    .param p1, "screenBright"    # Z

    .prologue
    .line 527
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mScreenBright:Z

    if-eq v1, p1, :cond_0

    .line 528
    iput-boolean p1, p0, Landroid/service/dreams/DreamService;->mScreenBright:Z

    .line 529
    const/16 v0, 0x80

    .line 530
    .local v0, "flag":I
    iget-boolean v1, p0, Landroid/service/dreams/DreamService;->mScreenBright:Z

    if-eqz v1, :cond_1

    move v1, v0

    :goto_0
    invoke-direct {p0, v1, v0}, Landroid/service/dreams/DreamService;->applyWindowFlags(II)V

    .line 532
    .end local v0    # "flag":I
    :cond_0
    return-void

    .line 530
    .restart local v0    # "flag":I
    :cond_1
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public setWindowless(Z)V
    .locals 0
    .param p1, "windowless"    # Z

    .prologue
    .line 550
    iput-boolean p1, p0, Landroid/service/dreams/DreamService;->mWindowless:Z

    .line 551
    return-void
.end method

.method public startDozing()V
    .locals 1

    .prologue
    .line 606
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mCanDoze:Z

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDozing:Z

    if-nez v0, :cond_0

    .line 607
    const/4 v0, 0x1

    iput-boolean v0, p0, Landroid/service/dreams/DreamService;->mDozing:Z

    .line 608
    invoke-direct {p0}, Landroid/service/dreams/DreamService;->updateDoze()V

    .line 610
    :cond_0
    return-void
.end method

.method public stopDozing()V
    .locals 2

    .prologue
    .line 634
    iget-boolean v0, p0, Landroid/service/dreams/DreamService;->mDozing:Z

    if-eqz v0, :cond_0

    .line 635
    const/4 v0, 0x0

    iput-boolean v0, p0, Landroid/service/dreams/DreamService;->mDozing:Z

    .line 637
    :try_start_0
    iget-object v0, p0, Landroid/service/dreams/DreamService;->mSandman:Landroid/service/dreams/IDreamManager;

    iget-object v1, p0, Landroid/service/dreams/DreamService;->mWindowToken:Landroid/os/IBinder;

    invoke-interface {v0, v1}, Landroid/service/dreams/IDreamManager;->stopDozing(Landroid/os/IBinder;)V
    :try_end_0
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0

    .line 642
    :cond_0
    :goto_0
    return-void

    .line 638
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public final wakeUp()V
    .locals 1

    .prologue
    .line 847
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Landroid/service/dreams/DreamService;->wakeUp(Z)V

    .line 848
    return-void
.end method

redpajama_set_name: RedPajamaGithub


Living the Dream with old and new.
No comparison, I'll take the '68 anytime.
1 of 1 1968 coupe.
Re: Living the Dream with old and new.
Hi Guys. That was my 68 used in the footage. Ford selected my car through the club a few weeks ago and we filmed it at Yarramalong NSW. Filming took 5hrs to get the few minutes that was used. The new car was filmed around Bulga NSW a few weeks prior to that.
Hi Guys. That was my 68 used in the footage. Ford selected my car through the club a few weeks ago and we filmed it at Yarramalong NSW. Filming took 5hrs to get the few minutes that was used.
Hey Brendon very cool, your car looks sensational in the video.
Hi Andrew. Thanks mate. The film crew was pretty impressed when they turned up and saw the car then drove it around for 5 hours!
Really the filming did take 5 minutes.
They just drove your car around telling you it was taking five hours.
God I miss my 67 Fastback (still tragically lurking this forum 3 years after I sold it) Sadly Santa did not bring me another for Christmas.


Alpinbus provides low cost passenger airport taxi transfers from Geneva Cointrin Airport (GVA) to Avoriaz.
Sitting atop Morzine in Haute-Savoie is the Avoriaz, the highest village in the large Portes du Soleil ski area and one of the most snow-sure ski resorts in the French Alps. The Avoriaz is ideal for skiiers from the UK as it is only 45 minutes from the A40 autoroute exit at Cluses and has a TGV high-speed train from Paris. Alpinbus can get skiers from Geneva Airport to Avoriaz in about two hours, making it a great option for travelers arriving via European and long-haul flights. Avoriaz offers varied groomed terrain for various levels of skiers and its 650 km piste network adds a lot to the entire quality of the skiing experience. The Avoriaz is designed traffic-free, which works well, making it a ski-in/ski-out and offer everything you need from ski-school areas to bars, shops and restaurants all nearby. The Avoriaz is best for families and young skiers although there are still some demanding black runs here too. The wealth of apartment accommodation, entertainment and bars, combined with extensive ski terrain offers a solid package for keen skiers and snowboarders.
As Avoriaz is a car-free resort, we cannot drive you directly to your accommodation, so you need to choose one of two drop off or pick up points for your transfer - Avoriaz (Avoriaz Welcome Center) or Avoriaz Cable Car (Prodains Telepherique). To choose the right option, please check your accommodation location in the Avoriaz website.
If you are staying in the top area of the resort, it is better to choose Avoriaz and you will be dropped off at the Welcome Centre at the entrance to the resort, near the Falaise area. Avoriaz Welcome Centre at the entrance to the resort is closest to the Falaise and L'Amara areas. The Falaise area is within walking distance. If you are staying at the L'Amara, you will be dropped off and picked up on level 1 of the underground parking for this residence.
If your accommodation is in one of the other areas, you can take a snow taxi or horse & cart to your accommodation from the welcome centre, the cost is roughly €8 for up to 6 people. If you prefer to walk, there are luggage sledges available to use. The journey from Morzine to Avoriaz is approximately 30 minutes, but can sometimes be longer during peak season or in adverse weather conditions.
At times, due to heavy snow and the altitude of the resort, it can be impossible to access Avoriaz by road. In these situations, your transfer will go to the cable car instead.
The Avoriaz Cablecar (Prodains Telepherique) offers more convenient access to the lower end of the resort. There is a cost for the cable car, although if you already have your lift pass this can be used. The transfer time is approximately 20-30 minutes less if you choose to go to the cable car. The lift is covered on the Avoriaz and Portes de Soleil lift pass if you have one, or you can buy a pedestrian pass for approx. €9 per person (please check the Avoriaz website for accurate and up to date pricing).
From the cable car station, you can take a snow taxi or horse & cart for the same price as from the Welcome Centre. However, it will depend on your flight time, as to whether you are able to take the cable car as for early flight departures the cable car will not open early enough to get you to the transfer meeting point and for late arrivals you will get to the cable car after it closes and not be able to use it to access the resort.
Please note - cable car may not work for very late arrivals and very early departures as it may not be open, so we would advise you to check the opening times in Avoriaz website before booking your transfer. We would suggest that for arrivals, your arrival flight time should be no later than 3 hours before the time of the last lift and for departure; your departure flight should be no earlier than 4 hours before the lift opens.


Led by sophomore Loryn Goodwin and senior Ijeoma Uchendu, the Butler Bulldogs (9-9, 5-2) reached .500 for the first time this season and won their fifth straight game with a 72-58 victory over Villanova University Friday night at Hinkle Fieldhouse.
The Bulldogs were leading 59-53 with 5:22 remaining, when they used an 11-2 run to put the game away late.
Villanova came out of the gates hot, hitting five of their first 10 three-pointers to go up 15-6 early on. But the Bulldogs closed the half strong to tie the game at 37 on a running layup from Goodwin.
Butler held Villanova to just 21 points in the second half after making some adjustments.
"We just made some small changes in our matchups at halftime and focused on playing as a team," senior forward Belle Obert said after recording the first double-double of her short career with 12 points and 10 rebounds.
Two of the biggest discrepancies on the stat sheet came inside. The Bulldogs outrebounded Villanova 43-26 and held a 40-12 advantage in points in the paint.
"We knew coming in that they liked to look for a lot of three's and that they would even pass up some inside looks because of it, so we definitely thought we could dominate on the glass with Ijeoma and Belle," Godlevske said.
Uchendu also notched a double-double on the evening, scoring 21 points and grabbing 12 rebounds. Butler also got solid contributions off the bench from junior Lexus Murry, who added seven points and three rebounds to go with a pair of assists.
Goodwin led the way for the Bulldogs with 25 points, nine rebounds and four assists.
The win puts Butler just a half-game behind DePaul and Seton Hall for first place in the Big East.
The Bulldogs will look to keep their win-steak alive Sunday as they host Georgetown University at Hinkle. The Hoyas are 4-14 on the season and 2-4 in the Big East Tip is set for 1 PM.


Clutches outfitted in emerald-hued crystals and handbags fashioned from astrakhan pony hair are just some of the pieces of arm candy available from Stark, the nascent accessories line by Petra Stunt.
Stunt, a self-proclaimed purse fanatic and daughter of Formula One CEO Bernie Ecclestone, has loved handbags since she was little, when she remembers dipping into her mother's own collection of Hermes Birkins. "I really feel shoes and handbags make a whole outfit," says the blonde Brit, who currently lives in Los Angeles and favors designers like Celine and Alexander McQueen. She began Stark four seasons ago, after futile shopping trips to find "something you can take with you to the gym and then wear out after."
Her collection for spring/summer features envelope clutches in sherbet shades and box clutches in crystal leopard print, a fashion homage to YBA artist Tracey Emin. "She's my favorite artist, and her neon lights were the inspiration behind the color and the mood for the bags," explains Stunt, who owns work by the artist. For this fall, things took a darker turn: cylindrical clutches come in silver, oxblood and painted python, while a black pillbox is sweetened with gold polka-dots. The collection, which retails from $620 to $3,400, is available at Saks Fifth Avenue and Intermix.
Stunt would like to grow the brand to Jimmy Choo-like proportions, but for now wants to keep Stark small, in order to control every aspect of production. She regularly travels to Milan, where the bags are produced, to "work with the samples with the manufacturers," she says. "I prefer to be very hands-on." Well-put for a bag designer.
Plus, read more about the Ecclestone heiresses in their interview with Bazaar.


What's your most favorite dive/experience ?
Top of the line gear to start, or take it slow?
Underwater Scooter... that itself is a question.
DIR setup, why does it go there? Posers beware!
Has anyone seen my fins?
What was the worst that has happened to you?
What to tip the DM?
Do you guys have some sort of dive kit?
Standard Octo versus Integrated Octo?
Okay, integrated BC weights or a weight belt?
any so.cal divers on here??
Gear you wish you would have never bought?
Why do I keep theese cards in my wallet?
How to get all the water out from BC?
so what gear do the owners of scubatoys own?
If you could invent anything for diving, what would it be?
How did you find scubatoys?
Does Anyone Listen To Scuba Radio?
What Specialty Courses Have You Taken?
Scubatoys REG Bag??? not for sale online??
Buy local or online ?
What constitutes an acceptable "log"?
Where'd you get that cool diver t-shirt?
Did you ever want to SCREAM AAARRRGHH!
An opportunity to brag on your gear!
Excuses, excuses... I mean well-thought out reasons.
No air. What a concept!
Is there a "rule of thumb" re: buy vs rent?
Essential gear for NC wreck diving?
About my Tilos roller bag.... GREAT!
OK - Pats or Colts this weekend?
3 boat dives in one day... How demanding is it?
What is in your Save-A-Dive Kit?
Gear or improvements to existed gear you'd like to see made?
What priority do you use to buy gears?
Insurance: Dan vs Diveassure vs....?
Best Deal on Used Gear?
Padi Dive Tables for sale?
Best Deal You Ever Got On Gear??
My scuba toys just arrived!
Any scuba related items for christmas?
Is there free shipping today with ST?
Did you get equipment training from your LDS?
Pool training and personal gear.
Got a Nervous Nellie in Your Family?
What are you looking for in diving magazines?
How does your weight change between home and travel?
Need Help With buying gear.
Scooter, Scooter, Who's Got A Scooter?
Submersible CAR? When will ST start carying this item.
Probs with LDS assembling on-line purchases?
Does anyone have an Oxygen kit (DAN or Other)?
Should I buy this gear set?
Anyone seen the mk VI Discovery?


text:
Drug Rehab Network
Learn About Us to Establish the Credibility of Our Information
The Latest Addiction Problems are Coming from Pharmaceuticals
Why People Crave Drugs
Detox at Home
Difference Between Detox and Withdrawals
alcohol withdrawals detox
Alcohol Drug Assessments Evaluations. Call: 888-781-7060
Treatment in Europe
Biophysical Alcohol Drug Treatment
Many Alcohol and Drug Rehabs but NO Results
Cost of Drug Rehab
Faith based treatment Christian drug rehab
Longterm Drug Rehab
Short-Term Drug Rehab
Addiction Information
History of Drug Abuse Addiction
Most Common Drug Alcohol
Women and Alcohol
The Dangers of Bath Salts
The Adverse Effects of Cocaine
Effects of Crack Cocaine
Crystal Meth Effects
Heroin Effects
Dexedrine Drug Rehab
Dilaudid Drug Rehab
Hydrocodone Drug Rehab
Lortab Withdrawal Symptoms
When is a Family Intervention Appropriate?
Christian Drug Rehab Centers
Therapeutic Communities or "TCs"
DEA releases 2013 Drug Threat Assessment Summary
"You can trust our crystal meth effects"
How to find an effective drug rehab for crystal meth effects. Don't spend another day wrecking your life. We will compare crystal meth effects to methamphetamine effects. 877.444.1137 for help.
Our site has been ranked as one of the most comprehensive articles on meth, crystal meth effects and speed in general and until we updated our site, was ranked number ONE on most search engines. After making our site more modern, we lost our high ranking, but the information is still the BEST!
Meth Resources.gov at the end of this page
Crystal Meth effects the body by staying in the fat tissue of your body for years after use.
Find out how they are affecting you and how to rid them from your body, as well as all the crystal meth effects that diminish your life. Call our counselors and ask about how you get meth out of your body. 888-781-7060.
Crystal Meth, or meth or any form, is one of the hardest addiction to overcome. There are some steps that you can even do at home that will reduce your urges and your pattern of use. Call us to learn more.
Crystal meth effects the body and mind as a stimulant which dramatically affects the central nervous system. The drug is easily manufactured anywhere with basic, over-the-counter ingredients. However, many states are following Oklahoma's lead in developing a computer monitoring system that will identify persons that are purchasing large quantities of ephedrine, the necessary raw product in the manufacture of
crystal meth. Crystal meth, a form of methamphetamine, is also known as speed, chalk, ice, crank or glass. It is a white, odorless, crystalline powder. Crystal meth's structure is similar to amphetamine with more of an impact on the central nervous system. The drug releases high levels of the neurotransmitter dopamine into the part of the brain regulating feelings of pleasure. It usually causes increased activity, decreased appetite, and a heightened sense of well-being. The unique description of how meth effects the body should lead anyone to looking for a drug treatment center that has a track record of treating and succeeding in rehabilitating chronic users of crystal meth.
Crystal meth, a form of methamphetamine, is also known as speed, chalk, ice, crank or glass. It is a white, odorless, crystalline powder. Crystal meth's structure is similar to amphetamine with more of an impact on the central nervous system. The drug releases high levels of the neurotransmitter dopamine into the part of the brain regulating feelings of pleasure. It usually causes increased activity, decreased appetite, and a heightened sense of well-being. The unique description of how meth effects the body should lead anyone to looking for a drug treatment center that has a track record of treating and succeeding in rehabilitating chronic users of crystal meth.crystal meth.
Crystal meth, a form of methamphetamine, is also known as speed, chalk, ice, crank or glass. It is a white, odorless, crystalline powder. Crystal meth's structure is similar to amphetamine with more of an impact on the central nervous system. The drug releases high levels of the neurotransmitter dopamine into the part of the brain regulating feelings of pleasure. It usually causes increased activity, decreased appetite, and a heightened sense of well-being. The unique description of how meth effects the body should lead anyone to looking for a drug treatment center that has a track record of treating and succeeding in rehabilitating chronic users of crystal meth.crystal meth. Crystal meth, a form of methamphetamine, is also known as speed, chalk, ice, crank or glass. It is a white, odorless, crystalline powder.
Crystal meth's structure is similar to amphetamine with more of an impact on the central nervous system. The drug releases high levels of the neurotransmitter dopamine into the part of the brain regulating feelings of pleasure. It usually causes increased activity, decreased appetite, and a heightened sense of well-being. The unique description of how meth effects the body should lead anyone to looking for a drug treatment center that has a track record of treating and succeeding in rehabilitating chronic users of crystal meth.Meth continues to be one of the most used drugs in our society. This is due to the fact that many people become totally dependent on the drug after using it only a few times. After taking meth, you are so exhausted that you become depressed, sometimes overwhelmingly depressed.
How long can anyone stand to be depressed if they know they will get out of it by taking some more meth?
Be VERY CAREFUL to not fall into the idea that you can casually do meth for a weekend high or whatever you are being told is okay. I have worked with meth addiction for years and it is very hard to get someone off of meth for the reason stated above and because it also accumulates in the body and continues to cause meth cravings.
Crystal Meth effects certain systems in the brain. Methamphetamine is closely related chemically to amphetamine, but the central nervous system effects of methamphetamine are greater and crystal meth effects are even more severe.
Cyrstal Meth or just Meth or Ice or Glass are all referring to methamphetamine, which is a psychostimulant in the amphetamine class of drugs. It stimulates the hormones in the body into a state of "fight or flight", which puts the body into its highest levels of stimulation and increases alertness, concentration, energy, but when it is taken at the levels of abuse to get high, the user is looking for the euphoria side effect that enhances self-esteem and raises one's sexual urges.
Both amphetamines and methamphetamines have some medical uses, primarily in the treatment of obesity, but their therapeutic use is limited. The street drug, Methamphetamine (Crystal Meth), is many times made in illegal laboratories and has a high potential for abuse and dependence. Street methamphetamine is referred to by many names, such as "speed", "meth" and "chalk." Methamphetamine hydrochloride, clear chunky crystals resembling ice, which can be inhaled by smoking, is referred to as "ice", "crystal", and "glass". Health Hazards
Crystal Meth effects (Methamphetamine) on nervous system… crystal meth releases high levels of the neurotransmitter dopamine, which stimulates brain cells, enhancing mood and body movement. It also appears to have a neurotoxic effect, damaging brain cells that contain dopamine and serotonin, another neurotransmitter. Over time, methamphetamine appears to cause reduced levels of dopamine, which can result in symptoms like those of Parkinson's disease, a severe movement disorder.
Methamphetamine (Crystal Meth) is taken orally or intranasally (snorting the powder), by intravenous injection, and by smoking. Immediately after smoking or intravenous injection, the methamphetamine (Crystal Meth) user experiences an intense sensation, called a "rush" or "flash", that lasts only a few minutes and is described as extremely pleasurable. Oral or intranasal use produces euphoria – a high, but not a rush. Users may become addicted quickly, and use it with increasing frequency and in increasing doses.
Crystal meth effects the central nervous system (CNS) even small amounts of methamphetamine (Crystal Meth) cause increased wakefulness, increased physical activity, decreased appetite, increased respiration, hyperthermia, and euphoria. Other CNS effects include irritability, insomnia, confusion, tremors, convulsions, anxiety, paranoia, and aggressiveness. Hyperthermia and convulsions can result in death.
Crystal Meth effects on the cardiovascular system include increased heart rate and blood pressure and can cause irreversible damage to blood vessels in the brain, producing strokes. Other effects of methamphetamine (Crystal Meth) include respiratory problems, irregular heartbeat, and extreme anorexia. Its use can result in cardiovascular collapse and death. methamphetamine wears a person out and that includes the heart muscles, vascular muscles and other organs and muscles.
Typical Cardivoascular clinical manifestation from abusing methamphetamines are: palpitations, chest pain, tachycardia (racing heart beat), arrhythmias (irregular heat beats), high blood pressure, and even cardiovascular collapse.
Typical Central Nervous System clinical manifestations from abusing methamphetamines are: Tremors, restlessness, agitation, insomnia, hyperactivity, headaches, convulsions, and strokes.
Most literature will show similar manifestations, but don't be caved in by these medical side effects, there are remedies that will turn this around and give you remarkable rejuvenation.
Crystal Methamphetamine Effects on the Kidneys: The kidneys filter the blood and clean out the waste. Crystal meth is filter by and excreted by the kidneys as well, but during this process the acid/alkaline balance of the body is changed and the blood vessels of the kidneys constrict, leading to decreased production of urine. The toxins that are not being secreted are now being put back into the blood stream… all of these are things that you don't want happening to a delicate and perfect system.
Is it Possible to Overdose with Methamphetamine (Crystal Meth/meth)? The short answer is YES! People do overdose from methamphetamine, showing an increased heart rate, increased blood pressure, and vascular constriction affecting vital organs, such as the heart and kidneys. The overdose effects are indicative of direct toxic poisoning, with death being caused by rapid onset of kidney failure and collapse of the circulatory system. A high percentage of people that die from methamphetamine overdoses have symptoms of shock, coma, inability to pass urine and muscle twitching.
Death also occurs because of the unregulated manufacturing of the drug in "meth labs" where many toxic materials are used in the process as well as non-sterile and non-professional lab techniques lead to creating as much poison as crystal meth. Death from meth users is accelerated by the lack of attention that is given to details when one is "loaded" on crystal meth. Simple, but dangerous activities like driving are put a risk because of the nervous exhaustion. Another level of morbidity from methamphetamine use is ancillary combativeness with others.
Meth Myth: Crystal Meth Effects on Sex..Sex is enhanced when doing methamphetamine.. not so, there is a heightening of all gland secretions and therefore there is an enhanced libido, but that feeling of wanting sex or the "tingling" of the genitalia is frustrated by a lack of sincere feelings and the ability to sustain sexual function long enough to have a true sexual encounter. Talk to anyone that is no longer using crystal meth and they will tell you that the sex enhancement is a myth… from delayed organisms to a lack of erection with heightened desire, methamphetamines frustrate life and sex is part of that frustration.
For whatever sexual enhancement your get, here is the trade off: Neurotransmitters in the brain and throughout the body, including the genitalia, are depleted, nerve cells are actually damaged, you become paranoid and anxious, which, with continual use leads to psychosis because too much dopamine being secreted which leads to a lack of sleep. There is also a higher chance of stroke.
Meth Myth 2. Crystal Meth effects on losing weight: Crystal Meth will keep me from gaining weight? True, but not in a good way. Ones basal metabolism is increased with methamphetamine use and that causes the body to burn more calories, however, it also poisons the body and causes a lack of vitamins and minerals which leads to the body "eating" its own bones and teeth to keep necessary calcium and magnesium in the blood stream. Meth Mouth is a partially caused by this phenomena. Because meth is a vasoconstrictor, it causes a reduction in saliva, which causes the mouth to be over acid and that is another reason for the decay of ones teeth with crystal meth use.
Meth Myth 3. Meth makes my whole body run better, No? The effects of Crystal Meth on all systems in the body work faster and better, …Right? ….Wrong! This has been discussed elsewhere on the page, but speeding up the body from chemical stimulation diminishes nutritional resources and doesn't give the body time to recover from some of the damage that occurs when it is pushed above normal rates of metabolism. The net effect is someone that is getting weaker and not better or stronger. It may appear to the user that he is getting a boost from the effects of meth, but that is due to increased endorphins and the subsequent delusional effects of the drug.
Some athletes have tried to use Crystal Meth to enhance their performance and it has always turned disastrous. Case in point, Nicole Bobeck, won the U.S. Figure Skating Championships in 1995 and when she experienced losses in her professional and personal life, she turned to methamphetamines and finally was arrested for being involved with a New Jersey drug ring and is currently on probation. Ms. Bobeck regrets her decision to ever you this drug and is still in the process of recovering from its effects.
The most drastic effects of crystal meth on the body can be seen by everyone that has ever witnessed or seen a before and after picture of someone that has been addict to meth. They age at a rate that is about 10 times faster than normal aging. If their skin can look that bad, you can bet that the other organs are looking equally bad or worse.
YOU TELL ME… HAS THIS WOMAN HELPED HERSELF BY LOSING WEIGHT WITH METH? This is the EFFECT of Crystal Meth use…
Crystal Meth Effects after continued use
Obvious Crystal Meth Effects:
Increased Energy and alertness
Diarrhea and nausea
Loss of appetite, insomnia, tremors, Jaw-clinching, agitation, irritability, talkativeness, panic, compulsive fascination with repetitive tasks, violence, confusion
Increased libido
Increased Blood Pressure, body temperature, heart rate, broncodialation
Associated Chronic Meth Effects:
Tolerance, the need for larger amounts to get the same effects
Serious Drug Craving
Meth Mouth.. where teeth rapidly decay and fall out
Drug-related psychosis
Crystal meth effects moods in different ways, depending on how it is taken. Immediately after smoking the drug or injecting it intravenously, the user experiences an intense rush that lasts only a few minutes and is described as extremely pleasurable. Snorting or oral ingestion produces euphoria – a high but not an intense rush. Snorting produces effects within 3 to 5 minutes, and oral ingestion produces effects within 15 to 20 minutes. As with similar stimulants, crystal meth most often is used in a "binge and crash" pattern. Because tolerance for crystal meth occurs within minutes users try to maintain the high by being on the drug.
In the 1980's, "ice," a smokable form of crystal meth, came into use. Ice is a large, usually clear crystal of high purity that is smoked in a glass pipe like crack cocaine. Pure Crystal Meth's smoke is odorless, leaves a residue that can be re-smoked, and produces effects that may continue for 12 hours or more. However, most crystal meth is not pure and contains other poisonous substances that can also cause damage to the lungs and can bring about psychotic reactions.
Why is Crystalmethamphetamine Psychologically Addicting?
Crystal Meth or methamphetamines, in general, are central nervous system stimulants that resemble the drug amphetamines in their chemical structure. However, crystal meth has an emphatic onset of effects that is not as profound in amphetamines. Since crystal meth is water soluble, it can be dissolved in water and injected intravenously, which gets the drug to the brain in concentrated doses and causes that "rush" of neuro-hormones, that leads to a "rush" of adrenaline and causes the body's metabolism to immediately surge, causing a feeling of excitement as well as increased heart-rate and blood pressure.
One of the most affected neurotransmitters is Dopamine, which is responsible for feelings of pleasure, increases motivation and stimulates motor function. Crystal meth increases the release of dopamine and blocks the natural reabsorption of this neurohormone. This is the chemical reason in the brain that one feels pleasure that is usually connected with things such as eating good food, sex, completing a difficult task and other actions that we are built within us to produce pleasure. These good feelings are being transmitted in the brain by dopamine. When a person takes crystal meth, the response is artificially created with a much higher impact than one's natural reward feelings.
When you feel good naturally, your brain is not reabsorbing dopamine rapidly, but when this neuro-hormone is artificially stimulated, the levels are elevated and the body, in its attempt to keep an equilibrium, the neurotransmitter is reabsorbed quickly and you feel depressed, empty and hollow.
The only stable way to feel these elated feelings is to do the things that naturally produce the feelings and, in response, produce dopamine. This reward system has been one of our motivating reasons that man survives the struggles he encounters to survive in a world that isn't necessarily easy or friendly. This system is closely connected to feelings that lead to religious experiences and other feelings that make life valuable and sustain us through tough episodes.
For people that are not using amphetamines, this chemical system doesn't roller coaster from highs to lows, but keeps us in a state where we can function "normally". When you take these drugs, however, you artificially induce exhilaration and excitement and since these levels of dopamine are extreme, the body over-absorbs it from the blood stream and a person falls into depression.
It is difficult to see how this can lead to a psychological addiction almost with the first use. Many doesn't do well in sustaining feelings of depressing and exhaustion for extended periods, especially when he knows that if he takes some more of the "speed", he will end the empty feeling and be back to the high that was emotionally very rewarding.
This is the cycle of a meth addict. As one continues to abuse this drug, they will push themselves into periods of extreme use where they will be "speeding" for two to three days, without sleep and usually without nutrition. What hasn't been mentioned is the fact that when the body is struggling to metabolize this "poison" out of the blood stream, it uses large amounts of calcium, so the meth addict or even the meth user is robbing his body of its most vital mineral. Calcium is needed to keep the heart beating and the body will take calcium out of the bones and teeth before it allows the heart to go without its calcium.
Meth-mouth is a product of this need for calcium as well as an expression of the toxins that are poisoning the body.
After reading this material, it should be obvious as to why someone will become psychologically addicted to methamphetamines and how quickly this can occur.
Dangers of Crystal Meth Use:
Even in small amounts, meth use causes an elevation of physical activity, leading to exhaustion, elevated respiration, tachycardia (irregular heartbeats or fast heartbeats), elevated bloodpressure…which could lead to strokes, increased irritability, confusion, anxiety, paranoia and aggressive behaviros.
Use of crystal meth over time can cause irreversible damage to blood vessels in the brain, which leads to strokes as well as other problems throughout the body, such as severe dental problems, a feeling the bugs are craw a ling under your skin, sometimes referred to as "crank bugs", and ultimately, meth use over time will cause heart attacks and death as well as changes to the brains structure.
With elevated dopamine levels being stimulated by meth use, the brain cells change at a fundamental level and can no longer contain dopamine and serotonin. This causes symptoms of Parkinson's disease. Long-term use also causes liver problem, which can lead to cirrous of the liver and hepatic death.
There are also dangers to your loved ones. It has been reported numerous times of couples who have had a three day meth run and then crash for two days or more at at time. Some of these couples have had young children that are left unattended and in fear that their parents have died since they can't be awakened.
Those that are operating meth labs need to consider the effects on their family members since it has been demonstrated that children in these families will have meth in the fatty tissues and also contamination from the toxic fumes of the lab itself.
If you can't stop Using Meth for yourself, do it for your Children or Loved Ones!
It is essential that anyone that has a loved one on meth, even on a casual basis, contact our counselors and find ways to explore early intervention strategies. If you see a loved one with signs of early crystal meth use, which includes decreased appetite, elevated physical activity, nervousness, non-stop talking, rapid eye movements, dilated pupils and sweating that isn't related to exertion, then you have enough signs to be concerned about meth or cocaine being part or all of the problem.
If these signs are evident in you or a loved one, call our helpline and get advice from a licensed counselor that can lead you to others that will assist you in nipping this problem in the bud.
Extent of Use
Monitoring the Future Study (MTF)*
MTF assesses the extent of drug use among adolescents (8th-, 10th-, and 12th-graders) and young adults across the country. Recent data from the survey:
• In 1997, 4.4 percent of high school seniors had used crystal methamphetamine at least once in their lifetimes – an increase from 2.7 percent in 1990.
• Data show that 2.3 percent of seniors reported past year use of crystal methamphetamine in 1997 – an increase from 1.3 percent in 1990.
Community Epidemiology Work Group (CEWG)**
Methamphetamine (Crystal Meth) is the dominant illicit drug problem in San Diego. San Francisco and Honolulu also have substantial methamphetamine- using populations. Patterns of increasing use have been seen in Denver, Los Angeles, Minneapolis, Phoenix, Seattle, and Tucson. New trafficking patterns have increased availability of the drug in Missouri, Nebraska, and Iowa. National Household Survey on Drug Abuse (NHSDA)t
According to the 1996 NHSDA, 4.9 million people (aged 12 and older) had tried methamphetamine at least once in their lifetimes (2.3 percent of population). This is not a statistically significant increase from 4.7 million people (2.2 percent) who reported using methamphetamine at least once in their lifetime in the 1995 NHSDA.
Crystal meth can be smoked, snorted, orally ingested or injected directly into the blood stream. Crystal meth has a very toxic effect on the human body. It is very dangerous and can cause convulsions, permanent severe body damage or death. Because of its stimulating effects, it is a very addictive drug. Chronic use often causes depression, anxiety, fatigue, paranoia and aggressive behavior. When you examine the effects of crystal meth on the body, especially facial changes, you can have an appreciation for the devastation that crystal meth does to the liver and brain, just to name two of the most important organs that are effected by addictive use of crystal meth. Crystal meth, in a prescription form, is a Schedule II stimulant, which means it has a high potential for abuse and is available only through a prescription that cannot be refilled.
Meth Resources.gov
Get Help Now:
Drug and Alcohol Assessment
What kind of help do you need?
Drugs licit and illicit
Rehab Drug Network
© 2005-2016 Rehab Drug

redpajama_set_name: RedPajamaCommonCrawl


Once you have your new website you will want to be confident that it is available 24/7 365 days a year. At Uedit we looked long and hard at the best web technology available, and then partnered with a world leading web building and hosting platform to give our clients access to the best of both worlds - great technology at a fantastic price so we can deliver the best value for money.
We use the same hosting service which powers roughly 2% of the websites on the Internet. Every website on Uedit is hosted by a datacentre redundant, cloud based hosting infrastructure. This is 'computer geek' language which put simply means your website lives in many different datacentre locations so that if one is busy, there is always another one ready to instantly deliver your webpages to your audience. Using this structure means we can offer superior up-time, response time, and reliability compared to almost any other hosting option.
Our server structure serves up millions of web pages everyday, and because we use multiple servers the load can be balanced out ensuring consistent and rapid response times. As part of our hosting package you will enjoy unlimited bandwidth - so whether your site receives one hundred or one million visits a month, it's all included.
Our servers had an up-time of 99.9986% in 2017.
Getting the right domain name is very important. Your domain name extension tells your visitors what kind of organisation you are. Using the wrong one can send out the wrong message to your audience, confusing them and maybe losing you business. We can advise you on suitable domain extensions and suggest good available domain names which will complement your website.
We use gandi.net recognised as one of the best domain name registrars in the world to provide our domain name and webmail services.
We can buy, set up your custom domain name and then manage it for you seamlessly. We can also offer you a free email address dedicated to your website eg. mike@mywebsite.com.
If you already have your own domain name we can simply provide you with the details you need to point your domain at our servers so it can be used with your new website.
As part of our hosting and maintenance web package we monitor your site 24/7, 365 days a year. We check your site is accessible using a network of servers around the world. If the site goes down we are alerted immediately and can start investigating, any fixing any problem before you, or your website visitors even notice.
Our hosting price is an annual cost paid in advance and covers all of the above and unlimited email or telephone support. We even throw in registration of your new domain name if you need one!