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
private void acquireWakeLock() { | |
try { | |
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); | |
if (pm == null) { | |
Ln.e("LocationService: Power manager not found!"); | |
return; | |
} | |
if (wakeLock == null) { | |
wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, getPackageName()); | |
if (wakeLock == null) { |
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
static int win1_display(struct rk30_lcdc_device *lcdc_dev,struct layer_par *par ) | |
{ | |
u32 y_addr; | |
u32 uv_addr; | |
y_addr = par->smem_start + par->y_offset; | |
uv_addr = par->cbr_start + par->c_offset; | |
DBG(2,KERN_INFO "lcdc%d>>%s>>y_addr:0x%x>>uv_addr:0x%x\n",lcdc_dev->id,__func__,y_addr,uv_addr); | |
spin_lock(&lcdc_dev->reg_lock); | |
if(likely(lcdc_dev->clk_on)) |
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
diff --git a/SecHdmi/SecHdmi.cpp b/SecHdmi/SecHdmi.cpp | |
index 6b03db7..b0a5397 100755 | |
--- a/SecHdmi/SecHdmi.cpp | |
+++ b/SecHdmi/SecHdmi.cpp | |
@@ -597,17 +597,17 @@ bool SecHdmi::connect(void) | |
mHdmiOutputMode = HDMI_OUTPUT_MODE_YCBCR; | |
if(resolution) { // 1080P default value | |
- mHdmiResolutionValue = 1080960; | |
- mHdmiPresetId = V4L2_DV_1080P60; |
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
diff --git a/drivers/media/video/samsung/tvout/s5p_tvout_fb.c b/drivers/media/video/samsung/tvout/s5p_tvout_fb.c | |
index 7f289ee..dabfba1 100644 | |
--- a/drivers/media/video/samsung/tvout/s5p_tvout_fb.c | |
+++ b/drivers/media/video/samsung/tvout/s5p_tvout_fb.c | |
@@ -96,7 +96,7 @@ static struct s5ptvfb_lcd lcd = { | |
.width = 1920, | |
.height = 1080, | |
.bpp = 32, | |
- .freq = 60, | |
+ .freq = 50, |
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
[alias] | |
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
lg = !"git lg1" |
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
// Determine video dimensions from the sequence parameterset. | |
void FindAVCDimensions( | |
const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) { | |
ABitReader br(seqParamSet->data() + 1, seqParamSet->size() - 1); | |
unsigned profile_idc = br.getBits(8); | |
br.skipBits(16); | |
parseUE(&br); // seq_parameter_set_id | |
unsigned chroma_format_idc = 1; // 4:2:0 chroma format |
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
<ListView | |
android:paddingTop="?actionBarSize" | |
android:layout_gravity="start|bottom" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:id="@+id/chats_list" | |
android:clipToPadding="false" | |
android:transcriptMode="normal"/> |
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
import android.graphics.Path; | |
import android.graphics.Rect; | |
import android.graphics.Region; | |
import android.graphics.RegionIterator; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.Comparator; | |
import java.util.Iterator; | |
import java.util.List; |
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
public interface BaseActivityComponent { | |
} |
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
@Module | |
public class AppModule { | |
private final Application application; | |
public AppModule(Application application) { | |
this.application = application; | |
} | |
@Provides public Application application() { |
OlderNewer