This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
@keyframes flip-n-slide-1 { | |
from { | |
margin-left: 0px; | |
transform: rotateY(0deg); | |
} | |
to { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma version(1) | |
#pragma rs java_package_name(com.sample.app) | |
#include "rs_debug.rsh" | |
const float XYZ_WHITE_REFERENCE_X = 95.047; | |
const float XYZ_WHITE_REFERENCE_Y = 100.0; | |
const float XYZ_WHITE_REFERENCE_Z = 108.883; | |
const float XYZ_EPSILON = 0.008856; | |
const float XYZ_KAPPA = 903.3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mSurfaceView.setAspectRatio(mPreviewSize.getWidth(), mPreviewSize.getHeight()); | |
mediaCodec = MediaCodec.createEncoderByType("video/avc"); | |
MediaFormat format = MediaFormat.createVideoFormat("video/avc", mVideoSize.getWidth(), mVideoSize.getHeight()); | |
int colorFormat = MediaCodecInfo.CodecCapabilities.COLOR_FormatSurface; | |
int videoBitrate = 90000; | |
int videoFramePerSecond = 25; | |
int iframeInterval = 2; | |
format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers | |
import models._ | |
import play.api.data._ | |
import play.api.data.Forms._ | |
import play.api.mvc._ | |
import play.api.Play.current | |
class Login extends Controller { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item | |
android:state_pressed="true" | |
android:drawable="@drawable/button_default_pressed"/> | |
<item | |
android:drawable="@drawable/btn_borderless_normal"/> | |
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.alexbat98.vkadmin.app.adapters; | |
import android.content.Context; | |
import android.graphics.drawable.Drawable; | |
import android.support.v4.app.FragmentManager; | |
import android.util.Log; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.ViewStub; |